/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ta.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ta.entity.StDynamicResource;
import com.thinkgem.jeesite.modules.ta.dao.StDynamicResourceDao;

/**
 * 附件路径Service
 * 
 * @author TTAO
 * @version 2017-06-05
 */
@Service
@Transactional(readOnly = true)
public class StDynamicResourceService extends
		CrudService<StDynamicResourceDao, StDynamicResource> {

	public StDynamicResource get(String id) {
		return super.get(id);
	}

	public List<StDynamicResource> findList(StDynamicResource stDynamicResource) {
		return super.findList(stDynamicResource);
	}

	public Page<StDynamicResource> findPage(Page<StDynamicResource> page,
			StDynamicResource stDynamicResource) {
		return super.findPage(page, stDynamicResource);
	}

	@Transactional(readOnly = false)
	public void save(StDynamicResource stDynamicResource) {
		super.save(stDynamicResource);
	}

	@Transactional(readOnly = false)
	public void delete(StDynamicResource stDynamicResource) {
		super.delete(stDynamicResource);
	}

	// 附件信息
	public List<StDynamicResource> findListById(Long id) {
		return super.findListById(id);
	}

	public void StDynamicResourceUpdateName(Map<String, Object> map) {
		super.StDynamicResourceUpdateName(map);
	}

	// 附件删除
	@Transactional(readOnly = false)
	public void StDynamicResourceDelAll(Long iid) {
		super.StDynamicResourceDelAll(iid);
	}

	@Transactional(readOnly = false)
	public void StDynamicResourceDelOne(String resValue) {
		super.StDynamicResourceDelOne(resValue);
	}

}